﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class HangDto
    {
        #region ThuocTinh
        private int m_ID;
        private String m_UrlHinh;
        private String m_TenSanPham;
        private int m_DonGia;
        private int m_SoLuong;
        private int m_RateKhuyenMai; // % khuyen mai
        private int m_RateGiamGia; // %giam gia
        #endregion ThuocTinh

        #region PhuongThuc
        public int ID
        {
            get { return this.m_ID; }
            set { this.m_ID = value; }
        }
        public String UrlHinh
        {
            get { return this.m_UrlHinh; }
            set { this.m_UrlHinh = value; }
        }
        public String TenSanPham
        {
            get { return this.m_TenSanPham; }
            set { this.m_TenSanPham = value; }
        }
        public int DonGia
        {
            get { return this.m_DonGia; }
            set { this.m_DonGia = value; }
        }
        public int SoLuong
        {
            get { return this.m_SoLuong; }
            set { this.m_SoLuong = value; }
        }

        public int RateKhuyenMai
        {
            get { return this.m_RateKhuyenMai; }
            set { this.m_RateKhuyenMai = value; }
        }
        public int RateGiamGia
        {
            get { return this.m_RateGiamGia; }
            set { this.m_RateGiamGia = value; }
        }
        #endregion PhuongThuc
    }
}
